﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;

namespace Swagger.Controllers
{
    /// <summary>
    /// swagger test
    /// </summary>
    public class ValuesController : ApiController
    {
        public ValuesController()
        {
            throw new Exception("test 1");
        }

        /// <summary>
        /// Paramater Get
        /// </summary>
        /// <param name="id">test</param>
        /// <returns></returns>
        public string Get(int id)
        {
            return "value";
        }

        public int  Dive(int a,int b)
        {
            return a/b;
        }
    }
}
